/*
 * @FilePath: /electron-video/src/renderer/src/router/router.ts
 * @Descripttion:
 * @version: 1.0.0
 * @Author: lijinshen
 * @Date: 2024-05-16 16:46:06
 * @LastEditors: lijinshen
 * @LastEditTime: 2024-05-16 17:03:07
 */
import { createMemoryHistory, createRouter } from 'vue-router'

import Main from '@renderer/views/Main.vue'
import Setting from '@renderer/views/Setting.vue'

const routes = [
  { path: '/', component: Main },
  { path: '/setting', component: Setting }
]

const router = createRouter({
  history: createMemoryHistory(),
  routes
})

export default router
